package com.jxy.homepage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 文章表
 * @TableName j_article
 */
@TableName(value ="j_article")
@Data
public class Article implements Serializable {
    /**
     * 
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    @TableField(value = "USER_ID")
    private String userId;

    /**
     * 文章唯一标识
     */
    @TableField(value = "ARTICLE_ID")
    private String articleId;

    /**
     * 标题
     */
    @TableField(value = "TITLE")
    private String title;

    /**
     * 内容
     */
    @TableField(value = "CONTENT")
    private String content;

    /**
     * 发布日期
     */
    @TableField(value = "DATA")
    private String data;

    /**
     * 查看数
     */
    @TableField(value = "PAGEVIEWS")
    private Integer pageviews;

    /**
     * 是否显示
     */
    @TableField(value = "ENABLED")
    private Integer enabled;

    /**
     * 
     */
    @TableField(value = "ENV_TYPE")
    private Integer envType;

    /**
     * 
     */
    @TableField(value = "VERSION")
    private String version;

    /**
     * 归档标记
     */
    @TableField(value = "ARCHIVE_MARK")
    private Integer archiveMark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}